package com.aqie.meet.model;

import android.content.Context;
import android.text.SpannableStringBuilder;

import com.aqie.meet.enums.TranslationState;
import com.aqie.meet.utils.SpanUtils;

public class Comment2 extends com.aqie.libfactory.model.api.post.Comment2 {

    private TranslationState translationState = TranslationState.START;

    public void setTranslationState(TranslationState translationState) {
        this.translationState = translationState;
    }

    public TranslationState getTranslationState() {
        return translationState;
    }
    /**
     * 富文本内容
     */
    private SpannableStringBuilder commentContentSpan;

    public SpannableStringBuilder getCommentContentSpan() {
        return commentContentSpan;
    }

    public void build(Context context) {
        commentContentSpan = SpanUtils.makeSingleCommentSpan(context, reply);
    }
}
